package com.zhkj.txg.module.home.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.zhkj.txg.R
import com.zhkj.txg.base.SearchHistory

class SearchHistoryAdapter : BaseQuickAdapter<SearchHistory, BaseViewHolder>(R.layout.item_home_search) {
    override fun convert(helper: BaseViewHolder, item: SearchHistory) {
        helper.setText(R.id.tvSearch, item.searchKey)
    }
}